package com.yunzheng.studyLeaveSystem.modules.enrollAndLogin.enroll.entity;

public class Member {

        private int id;
        private String name;
        private String term;
        private String direction;

    public Member(int id, String name, String term, String direction) {
        this.id = id;
        this.name = name;
        this.term = term;
        this.direction = direction;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getTerm() {
            return term;
        }

        public void setTerm(String term) {
            this.term = term;
        }

        public String getDirection() {
            return direction;
        }

        public void setDirection(String direction) {
            this.direction = direction;
        }

    @Override
    public String toString() {
        return "Member{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", term='" + term + '\'' +
                ", direction='" + direction + '\'' +
                '}';
    }
}
